$OpenBSD: patch-main_c,v 1.2 2016/08/17 13:48:33 jasper Exp $
--- main.c.orig	Sun Aug 16 06:37:35 2015
+++ main.c	Tue Aug 16 11:41:44 2016
@@ -195,6 +195,11 @@ int main(int argc, char* argv[]) {
   }
 #endif
 
+  if (pledge("stdio getpw rpath", NULL) == -1) {
+    fprintf(stderr, "pledge\n");
+    die();
+  }
+
   if (argc) progname = argv[0];
 
   jq = jq_init();
